home *** CD-ROM | disk | FTP | other *** search
/ Aminet 43 / Aminet 43 (2001)(GTI - Schatztruhe)[!][Jun 2001].iso / Aminet / dev / basic / STRPortLib.lha / STRPortLib / STRPortLib.doc < prev   
Encoding:
Text File  |  2001-03-21  |  5.3 KB  |  119 lines

  1. STRPortLib V1.2 (21.03.01)  (c) 1998-2001 by Stephan Richartz
  2.                                 <FamilieRichartz@t-online.de>
  3.  
  4. Install         :       Copy STRPort.obj to BlitzLibs:Uselibs/
  5.                 :       starte (run) MakeDefLibs
  6.  
  7. ------------------------------------------------------------------------------
  8. Statement       :       LED_On
  9. Arguments       :
  10. Returns         :
  11. Format          :       LED_On
  12. Description     :       E:turn the Power-Led on
  13.                         D:schaltet die Power-Led an
  14. ------------------------------------------------------------------------------
  15. Statement       :       LED_Off
  16. Arguments       :
  17. Returns         :
  18. Format          :       LED_Off
  19. Description     :       E:turn the Power-Led off
  20.                         D:schaltet die Power-Led aus
  21. ------------------------------------------------------------------------------
  22. Statement       :       LED_Toggle
  23. Arguments       :
  24. Returns         :
  25. Format          :       LED_Toggle
  26. Description     :       E:toggles the Power-Led
  27.                         D:schaltet die Power-Led um
  28. ------------------------------------------------------------------------------
  29. Statement       :       PotGo
  30. Arguments       :
  31. Returns         :
  32. Format          :       PotGo
  33. Description     :       E:starts up the 4 AD´s of Paula
  34.                         D:startet die 4 AD-Wandler von Paula
  35. ------------------------------------------------------------------------------
  36. Function        :       ReadPot
  37. Arguments       :       byte (0-3)
  38. Returns         :       word (0-255)
  39. Format          :       word=ReadPot(byte)
  40. Description     :       E:return then value of one of the 4 AD´s
  41.                         D:gibt den Wert eines der 4 AD-Wandler zurück.
  42. ------------------------------------------------------------------------------
  43. Function        :       AKey
  44. Arguments       :
  45. Returns         :       byte
  46. Format          :       byte=AKey
  47. Description     :       E:return a code of every key! (from hardware-register)
  48.                         D:liefert von jeder! Taste einen Wert.
  49. ------------------------------------------------------------------------------
  50. Statement       :       LMBD
  51. Arguments       :
  52. Returns         :
  53. Format          :       LMBD
  54. Description     :       E:wait until LeftMouseButton is down
  55.                         D:wartet, bis die linke Maustaste gerückt wird.
  56. ------------------------------------------------------------------------------
  57. Statement       :       LMBU
  58. Arguments       :
  59. Returns         :
  60. Format          :       LMBU
  61. Description     :       E:wait until LeftMouseButton is up
  62.                         D:wartet, bis die linke Maustaste losgelassen wird.
  63. ------------------------------------------------------------------------------
  64. Statement       :       RMBD
  65. Arguments       :
  66. Returns         :
  67. Format          :       RMBD
  68. Description     :       E:wait until RightMouseButton is down
  69.                         D:wartet, bis die rechte Maustaste gerückt wird.
  70. ------------------------------------------------------------------------------
  71. Statement       :       RMBU
  72. Arguments       :
  73. Returns         :
  74. Format          :       RMBU
  75. Description     :       E:wait until RightMouseButton is up
  76.                         D:wartet, bis die rechte Maustaste losgelassen wird.
  77. ------------------------------------------------------------------------------
  78. Function        :       ReadParPort
  79. Arguments       :
  80. Returns         :       word (%00000000-%11111111)
  81. Format          :       word=ReadParPort
  82. Description     :       E:return the Bits from the parallel port.
  83.                         D:liefert die Bitkombination vom parallelen Port.
  84. ------------------------------------------------------------------------------
  85. Statement       :       WriteParPort
  86. Arguments       :       byte (%00000000-%11111111)
  87. Returns         :
  88. Format          :       WriteParPort byte
  89. Description     :       E:set the bits of the parallel port.
  90.                         D:setzt die Ausgänge am parallelen Port.
  91. ------------------------------------------------------------------------------
  92. Statement       :       SetParDDR
  93. Arguments       :       byte (%00000000-%11111111)
  94. Returns         :
  95. Format          :       SetParDDR byte
  96. Description     :       E:set the DataDirectionRegister for the parallel port.
  97.                         D:setzt das DatenRichtungsRegister des parallelen Port
  98. ------------------------------------------------------------------------------
  99. Function        :       GetParDDR
  100. Arguments       :
  101. Returns         :       word (%00000000-%11111111)
  102. Format          :       word=GetParDDR
  103. Description     :       E:return the value of the DataDirectionRegister.
  104.                         D:liefert den Zustand des DatenRichtungsRegisters.
  105. ------------------------------------------------------------------------------
  106. ------------------------------------------------------------------------------
  107.  
  108. V1.0            :       Erster Versuch, inkl. Aminet-Upload.
  109.  
  110. V1.1            :       PotGo wartet nun selber, bis die Wandler ihre Arbeit
  111.                         vollbracht haben.
  112.                         Fehlermeldungen für den Debugger eingebaut.
  113.                         LibNummer auf 40 geändert.
  114.                         Dokumentation überarbeitet.
  115.  
  116. V1.2            :       Dokumentation überarbeitet.
  117.                         LED_on, LED_off, LED_toggle hinzugefügt.
  118.  
  119.